package com.teach.food.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.teach.dto.FoodGoodsDTO;
import com.teach.food.entity.FoodGoods;
/**
 * 食物商品
 * @author DELL
 *
 */

public interface FoodGoodsService {
	void add(FoodGoods foodGoods);
	
	void modify(FoodGoods foodGoods);
	
	void delete(Integer foodGoodsId);
	
	FoodGoods get(Integer foodGoodsId);
	
	List<FoodGoods> list2(FoodGoodsDTO search);
	/**
	 * 根据调解搜索菜品的分页数据
	 * @param search
	 * @return
	 */
	PageInfo<FoodGoods> page(FoodGoodsDTO search);
	
	List<FoodGoods> list();
}
